﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "EX_MESSAGE_DETAIL", DisableSyncStructure = true)]
	public partial class EXMESSAGEDETAIL {

		[JsonProperty, Column(Name = "MESSAGE_DETAIL_ID", IsPrimary = true)]
		public uint MESSAGEDETAILID { get; set; }

		/// <summary>
		/// 处理时间
		/// </summary>
		[JsonProperty, Column(Name = "HANDLE_DATE", DbType = "DATE(7)")]
		public DateTime? HANDLEDATE { get; set; }

		/// <summary>
		/// 是否处理
		/// </summary>
		[JsonProperty, Column(Name = "IS_HANDLE", DbType = "VARCHAR2(2 BYTE)")]
		public string ISHANDLE { get; set; }

		/// <summary>
		/// 是否已读
		/// </summary>
		[JsonProperty, Column(Name = "IS_READ", DbType = "VARCHAR2(2 BYTE)")]
		public string ISREAD { get; set; }

		[JsonProperty, Column(Name = "MESSAGE_ID")]
		public uint? MESSAGEID { get; set; }

		/// <summary>
		/// 接受人
		/// </summary>
		[JsonProperty, Column(Name = "RECEIVED_BY")]
		public uint? RECEIVEDBY { get; set; }

		/// <summary>
		/// 发送时间
		/// </summary>
		[JsonProperty, Column(Name = "SEND_TIME", DbType = "DATE(7)")]
		public DateTime? SENDTIME { get; set; }

	}

}
